# debian-remaster-iso-files

The various files I am installing onto my Debian Cinnamon based remaster ISOs.

The overall license is MIT for this repo. The background is based on a default GNOME background but I was unable to trace its author and license. If you made it/ you know its author and license please create an issue in this repo.

[Firefox flatpak font smoothing fix](https://github.com/flatpak/flatpak/issues/2861#issuecomment-851967628)

```
#! /bin/bash
# This is (roughly) the script I am using to customise the remastered ISO files. It has no use in the installed system so I am putting this into the readme.
# This can be run on any fresh Debian Cinnamon installation if you do not want to use my ISOs.
# Copyright (C) 2021 Satvik Patwardhan (eyekay)
# Set up packages --> ==SYSTEMWIDE==
sudo pkill packagekitd

sudo printf "deb http://deb.debian.org/debian bullseye main contrib non-free\ndeb-src http://deb.debian.org/debian bullseye main contrib\ndeb http://deb.debian.org/debian bullseye-updates main contrib non-free\ndeb-src http://deb.debian.org/debian bullseye-updates main contrib non-free\ndeb http://security.debian.org/debian-security/ bullseye-security main contrib\ndeb-src http://security.debian.org/debian-security/ bullseye-security main contrib\ndeb http://deb.debian.org/debian bullseye-backports main" > /tmp/tmpfile94387594857 && sudo rm /etc/apt/sources.list && sudo cp /tmp/tmpfile94387594857 /etc/apt/sources.list && rm /tmp/tmpfile94387594857

sudo apt update

sudo apt autoremove -y anthy gnome-games fcitx firefox-esr goldendict hexchat uim libreoffice-core pidgin rhythmbox eog synaptic xterm mlterm xiterm+thai konqueror epiphany-browser chromium midori mlterm-tiny fcitx5 gdebi libreoffice* gnome-font-viewer brasero sound-juicer gedit evince totem

sudo apt install -y bash-completion flatpak gnome-software-plugin-flatpak font-manager neofetch pluma atril vlc drawing

sudo flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

sudo flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo

sudo flatpak install org.mozilla.firefox org.onlyoffice.desktopeditors

#=========================================================

# Download remaster files from git --> ==SYSTEMWIDE==
curl https://notabug.org/eyekay/debian-remaster-iso-files/archive/master.zip --output /tmp/master.zip

curl -L  https://github.com/smxi/smxi/archive/master.zip -o /tmp/smxi.zip

unzip /tmp/master.zip -d /opt/

sudo unzip /tmp/smxi.zip -d /tmp/

sudo cp -r /tmp/smxi-master/* /usr/local/bin/

# Gnome Terminal pkexec-able --> ==SYSTEMWIDE==
sudo cp /opt/debian-remaster-iso-files/org.freedesktop.policykit.gnome-terminal.policy /usr/share/polkit-1/actions

#make folder for storing local configs, like has first time run been run --> ==SYSTEMWIDE==
sudo mkdir -p /etc/skel/.config/nodelogistics

# firefox flatpak font smoothing fix
sudo mkdir -p /etc/skel/.var/app/org.mozilla.firefox/config/fontconfig/
sudo cp /opt/debian-remaster-iso-files/fonts.conf /etc/skel/.var/app/org.mozilla.firefox/config/fontconfig/

#Custom app names --> ==SYSTEMWIDE==
sudo mkdir -p /etc/skel/.local/share/applications

sudo cp /opt/debian-remaster-iso-files/atril.desktop /etc/skel/.local/share/applications/

sudo cp /opt/debian-remaster-iso-files/pluma.desktop /etc/skel/.local/share/applications/

sudo cp /opt/debian-remaster-iso-files/org.gnome.Cheese.desktop /etc/skel/.local/share/applications/
sudo mkdir -p /etc/skel/.config/autostart
sudo cp /opt/debian-remaster-iso-files/welcomescreen-autostarted.desktop /etc/skel/.config/autostart/

sudo cp /opt/debian-remaster-iso-files/welcomescreen.desktop /etc/skel/.local/share/applications/

# lightdm conf
sudo rm /etc/lightdm/lightdm.conf
sudo cp /opt/debian-remaster-iso/files/lightdm.conf /etc/lightdm/lightdm.conf
#templates --> ==SYSTEMWIDE==
sudo mkdir -p /etc/skel/Templates

sudo cp /opt/debian-remaster-iso-files/New* /etc/skel/Templates/
```
